package com.umpay.dto.merAccess.req.bindcard;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @ClassName: UpdateBankMobileReq  
 * @Description: 更新银行预留手机号 
 * @author zhangtao  
 * @date Feb 11, 2018
 */
public class UpdateBankMobileReq extends CommonReq{
	/**
	 * 商户订单号
	 */
	@NotEmpty(message = "商户订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String order_id;
	
	/**
	 * 商户订单日期
	 */
	@NotEmpty(message = "商户订单日期不能为空")
	@Pattern(message = "商户订单日期格式不正确")
	private String mer_date;
	
	/**
	 * 联动用户号
	 */
	@NotEmpty(message = "联动用户号不能为空")
	@Pattern(message = "联动用户号格式不正确")
	private String user_id;
	
	/**
	 *会员类型  1:个人  2:个体  3:企业
	 */
	@NotEmpty(message = "会员类型不能为空")
	@Pattern(message = "会员类型格式不正确")
	private String user_type;
	
	/**
	 * 银行卡号
	 */
	@NotEmpty(message = "银行卡号不能为空")
	private String card_id;
	
	
	/**
	 * 银行预留手机号
	 */
	@NotEmpty(message = "银行预留手机号不能为空")
	@Pattern(message = "银行预留手机号格式不正确")
	private String bank_mobile_id;


	public String getOrder_id() {
		return order_id;
	}


	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}


	public String getMer_date() {
		return mer_date;
	}


	public void setMer_date(String mer_date) {
		this.mer_date = mer_date;
	}


	public String getUser_id() {
		return user_id;
	}


	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}


	public String getUser_type() {
		return user_type;
	}


	public void setUser_type(String user_type) {
		this.user_type = user_type;
	}


	public String getCard_id() {
		return card_id;
	}


	public void setCard_id(String card_id) {
		this.card_id = card_id;
	}


	public String getBank_mobile_id() {
		return bank_mobile_id;
	}


	public void setBank_mobile_id(String bank_mobile_id) {
		this.bank_mobile_id = bank_mobile_id;
	}


	@Override
	public String toString() {
		return "UpdateBankMobileReq [order_id=" + order_id + ", mer_date=" + mer_date + ", user_id=" + user_id
				+ ", user_type=" + user_type + ", card_id=" + card_id + ", bank_mobile_id=" + bank_mobile_id
				+ ", mer_id=" + mer_id + ", version=" + version + "]";
	}
}
